using System;

namespace Metar.NET
{
	/// <summary>
	/// Summary description for ClassOptions.
	/// </summary>
	public class Options
	{
        // local enums because error with xml serialization using ClassX.UNITS
        public enum TEMP_UNITS {FAHRENHEIT=0,CELCIUS};
        public enum WIND_UNITS {MS=0,KMH,MH,KNOTS,BEAUFORT};
        public enum HEIGTH_UNITS{INCH=0,MM};
        public enum LENGTH_UNITS{FEET=0,KM,METER,MILES};
        public enum PRESSURE_UNITS{INHG=0,MMHG,HPA,ATM};


        public Options.WIND_UNITS wind_unit=Options.WIND_UNITS.MH;
        public Options.TEMP_UNITS temp_unit=Options.TEMP_UNITS.CELCIUS;
        public Options.PRESSURE_UNITS pressure_unit=Options.PRESSURE_UNITS.INHG;
        public Options.LENGTH_UNITS length_unit=Options.LENGTH_UNITS.METER;
        public Options.LENGTH_UNITS height_unit=Options.LENGTH_UNITS.FEET;
        public Options.HEIGTH_UNITS precipitation_height_unit=Options.HEIGTH_UNITS.INCH;

        public bool show_clouds_in_window=true;
        public bool show_temp_in_window=true;
        /*
        public bool show_wind_speed_in_window=true;
        public bool show_wind_dir_in_window=true;
        */
        public bool show_wind_in_window=true;
        public bool show_pressure_in_window=true;
        
        public bool show_clouds_in_satusbar=true;
        public bool show_temp_in_satusbar=true;
        public bool show_wind_speed_in_satusbar=true;
        public bool show_wind_dir_in_satusbar=true;

        public bool top_most=true;
        public double opacity=0.70;
        public int window_pos_x=0;
        public int window_pos_y=0;
	}
}
